<?php

use Illuminate\Database\Seeder;

class BannersTbaleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $faker = app(Faker\Generator::class);
        $banners = factory(\App\Models\Banner::class)
                            ->times(35)
                            ->make();
        \App\Models\Banner::insert($banners->toArray());
    }
}
